using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._Features
{
    /// <summary>
    /// <para>Adjust 3D Z</para>
    /// <para>Modifies z-values of 3D features.</para>
    /// <para>修改 3D 要素的 z 值。</para>
    /// </summary>    
    [DisplayName("Adjust 3D Z")]
    public class Adjust3DZ : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public Adjust3DZ()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_features">
        /// <para>Input Features</para>
        /// <para>The 3D features with the z-values that will be modified.</para>
        /// <para>具有将要修改的 z 值的 3D 要素。</para>
        /// </param>
        public Adjust3DZ(object _in_features)
        {
            this._in_features = _in_features;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Adjust 3D Z";

        public override string CallName => "management.Adjust3DZ";

        public override List<string> AcceptEnvironments => ["extent", "workspace"];

        public override object[] ParameterInfo => [_in_features, _reverse_sign.GetGPValue(), _adjust_value, _from_units.GetGPValue(), _to_units.GetGPValue(), _out_feature_class];

        /// <summary>
        /// <para>Input Features</para>
        /// <para>The 3D features with the z-values that will be modified.</para>
        /// <para>具有将要修改的 z 值的 3D 要素。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_features { get; set; }


        /// <summary>
        /// <para>Reverse Sign of Z Values</para>
        /// <para><xdoc>
        ///   <para>Specifies whether features will be inverted along the z-axis.</para>
        ///   <bulletList>
        ///     <bullet_item>Reverse Z Orientation—The sign of z-values will be inverted causing the feature to flip upside down.</bullet_item><para/>
        ///     <bullet_item>Maintain Z Orientation—The sign of z-values will not be inverted; it will be maintained. This is the default.</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>指定是否沿 z 轴反转特征。</para>
        ///   <bulletList>
        ///     <bullet_item>反转 Z 方向 - z 值的符号将反转，导致要素上下翻转。</bullet_item><para/>
        ///     <bullet_item>保持 Z 方向 - z 值的符号不会反转;它将被维护。这是默认设置。</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Reverse Sign of Z Values")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public _reverse_sign_value _reverse_sign { get; set; } = _reverse_sign_value._NO_REVERSE;

        public enum _reverse_sign_value
        {
            /// <summary>
            /// <para>Maintain Z Orientation</para>
            /// <para>Maintain Z Orientation—The sign of z-values will not be inverted; it will be maintained. This is the default.</para>
            /// <para>保持 Z 方向 - z 值的符号不会反转;它将被维护。这是默认设置。</para>
            /// </summary>
            [Description("Maintain Z Orientation")]
            [GPEnumValue("NO_REVERSE")]
            _NO_REVERSE,

            /// <summary>
            /// <para>Reverse Z Orientation</para>
            /// <para>Reverse Z Orientation—The sign of z-values will be inverted causing the feature to flip upside down.</para>
            /// <para>反转 Z 方向 - z 值的符号将反转，导致要素上下翻转。</para>
            /// </summary>
            [Description("Reverse Z Orientation")]
            [GPEnumValue("REVERSE")]
            _REVERSE,

        }

        /// <summary>
        /// <para>Adjust Z Value</para>
        /// <para>A numeric value or field from the input features that will be used to adjust the z of each vertex in the input features. A positive value will shift the feature higher, while a negative number will shift it lower along the z-axis.</para>
        /// <para>输入要素中的数值或字段，用于调整输入要素中每个折点的 z。正值会使特征沿 z 轴向上移动，而负数会将其沿 z 轴向下移动。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Adjust Z Value")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public object _adjust_value { get; set; } = null;


        /// <summary>
        /// <para>Convert From Units</para>
        /// <para><xdoc>
        ///   <para>Specifies the existing units of the z-values. This parameter is used in conjunction with the Convert To Units parameter.</para>
        ///   <bulletList>
        ///     <bullet_item>Millimeters—The units will be millimeters.</bullet_item><para/>
        ///     <bullet_item>Centimeters—The units will be centimeters.</bullet_item><para/>
        ///     <bullet_item>Meters—The units will be meters.</bullet_item><para/>
        ///     <bullet_item>Inches—The units will be inches.</bullet_item><para/>
        ///     <bullet_item>Feet—The units will be feet.</bullet_item><para/>
        ///     <bullet_item>Yards—The units will be yards.</bullet_item><para/>
        ///     <bullet_item>Fathoms—The units will be fathoms.</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>指定 z 值的现有单位。此参数与转换为单位参数结合使用。</para>
        ///   <bulletList>
        ///     <bullet_item>毫米—单位将为毫米。</bullet_item><para/>
        ///     <bullet_item>厘米—单位将为厘米。</bullet_item><para/>
        ///     <bullet_item>米—单位为米。</bullet_item><para/>
        ///     <bullet_item>英寸—单位将为英寸。</bullet_item><para/>
        ///     <bullet_item>英尺—单位将为英尺。</bullet_item><para/>
        ///     <bullet_item>码—单位将为码。</bullet_item><para/>
        ///     <bullet_item>噚—单位为噚。</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Convert From Units")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public _from_units_value? _from_units { get; set; } = null;

        public enum _from_units_value
        {
            /// <summary>
            /// <para>Millimeters</para>
            /// <para>Millimeters—The units will be millimeters.</para>
            /// <para>毫米—单位将为毫米。</para>
            /// </summary>
            [Description("Millimeters")]
            [GPEnumValue("MILLIMETERS")]
            _MILLIMETERS,

            /// <summary>
            /// <para>Centimeters</para>
            /// <para>Centimeters—The units will be centimeters.</para>
            /// <para>厘米—单位将为厘米。</para>
            /// </summary>
            [Description("Centimeters")]
            [GPEnumValue("CENTIMETERS")]
            _CENTIMETERS,

            /// <summary>
            /// <para>Meters</para>
            /// <para>Meters—The units will be meters.</para>
            /// <para>米—单位为米。</para>
            /// </summary>
            [Description("Meters")]
            [GPEnumValue("METERS")]
            _METERS,

            /// <summary>
            /// <para>Inches</para>
            /// <para>Inches—The units will be inches.</para>
            /// <para>英寸—单位将为英寸。</para>
            /// </summary>
            [Description("Inches")]
            [GPEnumValue("INCHES")]
            _INCHES,

            /// <summary>
            /// <para>Feet</para>
            /// <para>Feet—The units will be feet.</para>
            /// <para>英尺—单位将为英尺。</para>
            /// </summary>
            [Description("Feet")]
            [GPEnumValue("FEET")]
            _FEET,

            /// <summary>
            /// <para>Yards</para>
            /// <para>Yards—The units will be yards.</para>
            /// <para>码—单位将为码。</para>
            /// </summary>
            [Description("Yards")]
            [GPEnumValue("YARDS")]
            _YARDS,

            /// <summary>
            /// <para>Fathoms</para>
            /// <para>Fathoms—The units will be fathoms.</para>
            /// <para>噚—单位为噚。</para>
            /// </summary>
            [Description("Fathoms")]
            [GPEnumValue("FATHOMS")]
            _FATHOMS,

        }

        /// <summary>
        /// <para>Convert To Units</para>
        /// <para><xdoc>
        ///   <para>Specifies the units that existing z-values will be converted to.</para>
        ///   <bulletList>
        ///     <bullet_item>Millimeters—The units will be millimeters.</bullet_item><para/>
        ///     <bullet_item>Centimeters—The units will be centimeters.</bullet_item><para/>
        ///     <bullet_item>Meters—The units will be meters.</bullet_item><para/>
        ///     <bullet_item>Inches—The units will be inches.</bullet_item><para/>
        ///     <bullet_item>Feet—The units will be feet.</bullet_item><para/>
        ///     <bullet_item>Yards—The units will be yards.</bullet_item><para/>
        ///     <bullet_item>Fathoms—The units will be fathoms.</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>指定现有 z 值将转换为的单位。</para>
        ///   <bulletList>
        ///     <bullet_item>毫米—单位将为毫米。</bullet_item><para/>
        ///     <bullet_item>厘米—单位将为厘米。</bullet_item><para/>
        ///     <bullet_item>米—单位为米。</bullet_item><para/>
        ///     <bullet_item>英寸—单位将为英寸。</bullet_item><para/>
        ///     <bullet_item>英尺—单位将为英尺。</bullet_item><para/>
        ///     <bullet_item>码—单位将为码。</bullet_item><para/>
        ///     <bullet_item>噚—单位为噚。</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Convert To Units")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public _to_units_value? _to_units { get; set; } = null;

        public enum _to_units_value
        {
            /// <summary>
            /// <para>Millimeters</para>
            /// <para>Millimeters—The units will be millimeters.</para>
            /// <para>毫米—单位将为毫米。</para>
            /// </summary>
            [Description("Millimeters")]
            [GPEnumValue("MILLIMETERS")]
            _MILLIMETERS,

            /// <summary>
            /// <para>Centimeters</para>
            /// <para>Centimeters—The units will be centimeters.</para>
            /// <para>厘米—单位将为厘米。</para>
            /// </summary>
            [Description("Centimeters")]
            [GPEnumValue("CENTIMETERS")]
            _CENTIMETERS,

            /// <summary>
            /// <para>Meters</para>
            /// <para>Meters—The units will be meters.</para>
            /// <para>米—单位为米。</para>
            /// </summary>
            [Description("Meters")]
            [GPEnumValue("METERS")]
            _METERS,

            /// <summary>
            /// <para>Inches</para>
            /// <para>Inches—The units will be inches.</para>
            /// <para>英寸—单位将为英寸。</para>
            /// </summary>
            [Description("Inches")]
            [GPEnumValue("INCHES")]
            _INCHES,

            /// <summary>
            /// <para>Feet</para>
            /// <para>Feet—The units will be feet.</para>
            /// <para>英尺—单位将为英尺。</para>
            /// </summary>
            [Description("Feet")]
            [GPEnumValue("FEET")]
            _FEET,

            /// <summary>
            /// <para>Yards</para>
            /// <para>Yards—The units will be yards.</para>
            /// <para>码—单位将为码。</para>
            /// </summary>
            [Description("Yards")]
            [GPEnumValue("YARDS")]
            _YARDS,

            /// <summary>
            /// <para>Fathoms</para>
            /// <para>Fathoms—The units will be fathoms.</para>
            /// <para>噚—单位为噚。</para>
            /// </summary>
            [Description("Fathoms")]
            [GPEnumValue("FATHOMS")]
            _FATHOMS,

        }

        /// <summary>
        /// <para>Updated Features</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Features")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_feature_class { get; set; }


        public Adjust3DZ SetEnv(object extent = null, object workspace = null)
        {
            base.SetEnv(extent: extent, workspace: workspace);
            return this;
        }

    }

}